import request from '@/utils/request';
import {activeCopyInter, activityIf, changeActiveInter} from "@/api/interface/interFace";
export function getActivityInfo(query:activityIf) {
    return request({
        url: '/jsActivity/list',
        method: 'get',
        params: query,
    });
}
export function  changeActiveFn(query:changeActiveInter){
    return request({
        url: '/jsActivity/status',
        method: 'put',
        data: query,
    });
}
export function activeCopyFn(query:activeCopyInter){
    return request({
        url: '/jsActivity/copy',
        method: 'put',
        data: query,
    });
}
